package testcasegeneration

import (
	"strconv"
)

func array01(arrLen int) string {

	resArr := make([]int, 0, arrLen)
	for i := 0; i < arrLen; i++ {
		resArr = append(resArr, randomIntData(0, 2))
	}

	resArrPyString := "["
	for i := range resArr {
		resArrPyString += strconv.Itoa(resArr[i])
		if i != len(resArr)-1 {
			resArrPyString += ","
		}
	}
	resArrPyString += "]"

	return resArrPyString
}
